package Course11;
import java.util.HashMap;
import java.util.Map;

public class Hash3 {
    public static void main(String[] args) {
        Map<String, String> hashMap1 = new HashMap<>();
        hashMap1.put("name1", "刘备");
        hashMap1.put("name2", "关羽");
        hashMap1.put("name3", "张飞");
        Map<String, String> hashMap2 = new HashMap<>();
        hashMap2.put("name4", "花木兰");
        hashMap2.put("name5", "苏烈");
        hashMap2.put("name6", "百里守约");
        Map<String, String> hashMap3= new HashMap<>();
        hashMap3.put("name7", "妲己");
        hashMap3.put("name8", "梦奇");
        hashMap3.put("name9", "裴擒虎");
        Map<String,Map<String,String>>hashMap4=new HashMap<>();
        hashMap4.put("三国人物",hashMap1);
        hashMap4.put("长城小分队",hashMap2);
        hashMap4.put("妖怪",hashMap3);
    }
}
